<% form_tag request.path, :method => :get do %>
  <div>
    <span><%= label :matricula ,"Matr&iacute;cula" %>: <%= text_field_tag :matricula , "" ,:size => 7 %></span>
    <span><%= label :nome ,"Nome" %>: <%= text_field_tag :nome , "" ,:size => 30 %></span>
  </div>
  <br>
  <div>
    <span><%= label :nivel ,"N&iacute;vel" %>:<%= select_tag 'nivel', options_for_select(@niveis.map { |v| [v.nome,v.id]}.insert(0,""))%></span>
    <span><%= label :nivel ,"Curso" %>:<%= select_tag 'curso', options_for_select(@cursos.map { |v| [v.nome,v.id]}.insert(0,""))%></span>
    <span><%= label :nivel ,"Campus" %>:<%= select_tag 'campus', options_for_select(@campus.map { |v| [v.nome,v.id]}.insert(0,""))%></span>
  </div>
  <br>
  <div>
    <span><%= label :ativo ,"Ativo" %>:<%= select_tag 'ativo', options_for_select({"Não"=>0,"Sim"=>1,""=>""})%></span>
  </div>
  <br>
  <div class="paineldecontrole"><%= submit_tag "Filtrar",:class => "botao"  %></div>
<% end %>